package com.erp.gather.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.oldDomain.TreeEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 采集商品类目对象 erp_collect_product_category
 *
 * @author erp
 * @date 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_collect_product_category")
public class ErpCollectProductCategory extends TreeEntity<ErpCollectProductCategory> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    private String ancestors;
    /**
     * 类目名称
     */
    private String name;
    private String ruName;
    private String ptName;
    private String inName;
    private String frName;
    private String enName;
    private String esName;
    /**
     * 类目状态
     */
    private Integer status;
    /**
     * 乐观锁
     */
    private String revision;
    /**
	 * 是否是叶子，false：不是，true：是
	 */
	private Boolean isleaf;

	private Long primaryCategory;

}
